package com.chenchao.reflection;

import java.lang.annotation.ElementType;

/**
 * @encoding : UTF-8
 * @Time : 2020/12/2 15:20
 * @Author : Chen Chao
 * @File : javaSE.com.chenchao.javareflection.Test07.java
 * @Software : IntelliJ IDEA
 * @since : 1.8
 * 类对象
 */

public class Test07 {
    public static void main(String[] args) {
        /*类*/
        Class<Object> class1 = Object.class;
        /*接口*/
        Class<Comparable> class2 = Comparable.class;
        /*一维数组*/
        Class<String[]> class3 = String[].class;
        /*二维数组*/
        Class<int[][]> class4 = int[][].class;
        /*注解*/
        Class<Override> class5 = Override.class;
        /*枚举*/
        Class<ElementType> class6 = ElementType.class;
        /*基本数据类型*/
        Class<Integer> class7 = Integer.class;
        /*void*/
        Class<Void> class8 = void.class;
        /*class*/
        Class<Class> class9 = Class.class;
        System.out.println(class1);
        System.out.println();
        System.out.println(class2);
        System.out.println();
        System.out.println(class3);
        System.out.println();
        System.out.println(class4);
        System.out.println();
        System.out.println(class5);
        System.out.println();
        System.out.println(class6);
        System.out.println();
        System.out.println(class7);
        System.out.println();
        System.out.println(class8);
        System.out.println();
        System.out.println(class9);
    }
}
